import request from "../utils/request"
//登录接口
export function login(data) {
    return request({
        method: "post",
        url: "/login",
        data
    })
}

//注册接口
export function register(data) {
    return register({
        method: "post",
        url: "/register",
        data
    })
}